//
//  Driver.h
//  DriverBus
//
//  Created by MacMini20170218 on 2017/3/27.
//  Copyright © 2017年 JiYang. All rights reserved.
//

#import <Foundation/Foundation.h>

#define DRIVER_NAME @"driver_name"
#define DRIVER_SEX @"driver_sex"
#define DRIVER_NUMBER @"driver_number"
#define DRIVER_ACCOUNT @"driver_account"
#define DRIVER_IMAGE @"head_address"
#define DRIVER_PASS @"driver_pass"
#define DRIVER_LOG @"has_log_in"

@interface Driver : NSObject

@property(strong,atomic) NSString* name;    //姓名
@property(strong,atomic) NSString* number;  //工号
@property(strong,atomic) NSString* sex;     //性别
@property(strong,atomic) NSString* account; //账号
@property(strong,atomic) NSString* pass;    //密码
@property(strong,atomic) NSString* imageUrl;//头像路径

- (void)saveToData:(Boolean)hasLog;
- (id)initWithData;

@end
